<?

include_once("../../../../../config.php");



    //获取的nid是event member中的 nid
    $nid         = $_REQUEST['nid'];
    $price       = $_REQUEST['price'];
    //print_r2($_REQUEST);

    //执行删除
    $table=$table_prefix."event_member";
    $deletestr = "DELETE FROM  $table WHERE nid= $nid";
    $query=do_query($deletestr) or die ('删除数据失败');

if($query)
{

    $arr['status'] = 200;
    $arr['info'] = '取消成功';
    die(json_encode($arr)) ;
}

else
{
    $arr['status'] = 300;
    $arr['info'] = '取消失败';
    die(json_encode($arr)) ;
}

?>








